package com.naiterui.ehp.bs.consult.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 会诊意见
 *
 * @author gaoliangliang
 * @date 2022-07-05 10:31
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("会诊意见")
public class GroupConsultOpinionVO {

    public static final int OPINION_FROM_TARGET = 1;
    public static final int OPINION_FROM_SOURCE = 2;

    @ApiModelProperty(value = "视频问诊id")
    private Long videoConsultId;

    @NotNull(message = "房间号不能为空")
    @ApiModelProperty(value = "房间号", required = true)
    private Integer roomId;

    @ApiModelProperty(value = "会诊意见来源，1：受邀方，2：发起方")
    private Integer from;

    @NotNull(message = "会诊意见不能为空")
    @ApiModelProperty(value = "会诊意见", required = true)
    private String opinion;

    @ApiModelProperty(value = "诊断集合")
    private List<String> diagnoseData;
}
